ifeq ($(x86),1)
CC	= gcc
STRIP	= strip
else
CC	= rsdk-linux-gcc
STRIP	= rsdk-linux-strip
endif

NAME1 = kguard

all:	$(NAME1)

$(NAME1):
	$(CC) -o $(NAME1) $(CFLAGS) $(NAME1).c
	$(STRIP) $@

romfs:
	$(ROMFSINST) $(NAME1) /bin/$(NAME1)
	
.PHONY: clean
clean:
	rm -f $(NAME1)
